<template>
    <stock-all :sortList="sh_all" @ListClick="ListClick"></stock-all>
</template>
<script>
    import stockAll from '@/components/stock/stock_all.vue'
    export default {
        components: { stockAll },
        data() {
            return {
                sh_all:{
                    toggleShow: true,
                    order: ["", "DESC", "ASC"],
                    name:'order',
                    url: "/api/market/index", //主板 HK
                    submit: {
                        type:"CN",
                        securityType:"1",
                        order:'DESC',
                        field:"gain",
                        plate:"1",
                        pageSize:"40",
                        page:1,
                    }
                }
            };
        },
        methods: {
            ListClick(isTrue){
                this.$store.dispatch("SetShActive",isTrue);
            },
        },
    };
</script>
<style lang="less" scoped>
</style>